package com.hexinfo.dmpro.script.pack.base;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @Description: 导入业务字段配置信息
 * @Package: com.hex.hdc.center.app.batch.load.dto.request
 * @ClassName: SourceTableFieldsForExcelUpload
 *
 * @Author: xiaoma
 * @Date: 2021/11/4 16:31
 * @Version: v1.0
 **/
@Data
@Accessors(chain = true)
public class SourceTableFieldsForExcelModel {

    private String pkId;

    private String crtUser;

    private String crtUserName;

    private String crtTime;

    private String upUser;

    private String upUserName;

    private String upTime;

    private String bizCode;

    @JSONField(name = "字段名称⭐")
    private String name;

    private String targetName;

    @JSONField(name = "字段描述")
    private String comment;

    @JSONField(name = "字段类型⭐")
    private String type;

    @JSONField(name = "字段长度⭐")
    private Integer length;

    @JSONField(name = "位置⭐")
    private Integer seq;

    @JSONField(name = "是否允许为空")
    private String nullable;

    @JSONField(name = "是否主键")
    private String primaryKey;

    @JSONField(name = "是否索引")
    private String isIndex;

    private String partitionField;

    @JSONField(name = "处理类型")
    private String dataExchangeType;

    @JSONField(name = "处理值")
    private String dataConversionValue;

    /**
     * hbase列族名称
     */
    private String rowKey;

    /** 这个是字段在excel中的行数 */
    @JSONField(name = "excelRowNum")
    private Integer excelRowNum;


}
